package com.findFish.cage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.findFish.common.annotation.Excel;
import com.findFish.common.core.domain.BaseEntity;

/**
 * 网箱状态对象 cage_status
 * 
 * @author admin
 * @date 2025-04-03
 */
public class CageStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private String id;

    /** 网箱ID */
    @Excel(name = "网箱ID")
    private String cageId;

    /** 网箱状态 */
    @Excel(name = "网箱状态")
    private Integer status;

    /** 状态变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "状态变更时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changedAt;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setCageId(String cageId) 
    {
        this.cageId = cageId;
    }

    public String getCageId() 
    {
        return cageId;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setChangedAt(Date changedAt) 
    {
        this.changedAt = changedAt;
    }

    public Date getChangedAt() 
    {
        return changedAt;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cageId", getCageId())
            .append("status", getStatus())
            .append("changedAt", getChangedAt())
            .append("notes", getNotes())
            .toString();
    }
}
